package org.example.aspect;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;

/**
 * @author Donald
 * @create 2020-04-19 20:30
 */
//@Aspect
//@Component
//@Order(0)
public class AspectTest {

    @Pointcut("execution(* org.example.service.impl..*.* (..))")
    public void ponitcut(){
    }

    @Before("ponitcut()")
    public void beforeCut(JoinPoint joinPoint){
        System.out.println(">>");
    }
}
